package com.user.seat.mapper;

import com.user.seat.domain.SeatStatus;
import com.user.seat.domain.SeatStatusExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
*SeatStatusMapper
* @author jimmy
* @since 2022/04/27
*/
public interface SeatStatusMapper {
    /**
    * countByExample
    * @param example example
    * @return long long
    */
    long countByExample(SeatStatusExample example);

    /**
    * deleteByExample
    * @param example example
    * @return int int
    */
    int deleteByExample(SeatStatusExample example);

    /**
    * deleteByPrimaryKey
    * @param id id
    * @return int int
    */
    int deleteByPrimaryKey(Integer id);

    /**
    * insert
    * @param record record
    * @return int int
    */
    int insert(SeatStatus record);

    /**
    * insertSelective
    * @param record record
    * @return int int
    */
    int insertSelective(SeatStatus record);

    /**
    * selectByExample
    * @param example example
    * @return List<SeatStatus> List<SeatStatus>
    */
    List<SeatStatus> selectByExample(SeatStatusExample example);

    /**
    * selectByPrimaryKey
    * @param id id
    * @return SeatStatus SeatStatus
    */
    SeatStatus selectByPrimaryKey(Integer id);

    /**
    * updateByExampleSelective
    * @param record record
    * @param example example
    * @return int int
    */
    int updateByExampleSelective(@Param("record") SeatStatus record, @Param("example") SeatStatusExample example);

    /**
    * updateByExample
    * @param record record
    * @param example example
    * @return int int
    */
    int updateByExample(@Param("record") SeatStatus record, @Param("example") SeatStatusExample example);

    /**
    * updateByPrimaryKeySelective
    * @param record record
    * @return int int
    */
    int updateByPrimaryKeySelective(SeatStatus record);

    /**
    * updateByPrimaryKey
    * @param record record
    * @return int int
    */
    int updateByPrimaryKey(SeatStatus record);
}